package com.csap.framework.oauth2.server.model;

import com.csap.framework.annotation.apidoc.ApiModel;
import com.csap.framework.annotation.apidoc.ApiModelProperty;
import com.csap.framework.annotation.apidoc.Description;
import com.csap.framework.oauth2.server.entity.OtherOpenEntity;
import com.csap.framework.oauth2.type.OtherOpenType;
import com.csap.mybatisplus.extension.activerecord.CloneModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
/**
 * <p>
 * 其他第三方open信息
 * </p>
 *
 * @author yangchengfu
 * @dateTime 2021-08-09 14:41:34
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel(description = "其他第三方open信息", value = "otherOpen对象")
@Description(value = "其他第三方open信息Model")
public class OtherOpenModel extends CloneModel<OtherOpenModel, OtherOpenEntity> {
    @ApiModelProperty(description = "主键", value = "主键")
    private Long id;
    @ApiModelProperty(description = "第三方openId", value = "第三方openId")
    private String openId;
    @ApiModelProperty(description = "用户Id", value = "用户Id")
    private String userId;
    @ApiModelProperty(description = "创建时间", value = "创建时间")
    private LocalDateTime createTime;
    @ApiModelProperty(description = "第三方类型", value = "第三方类型")
    private OtherOpenType type;


}
